package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the REPAIR_DATAIL database table.
 * 
 */
@Entity
@Table(name="REPAIR_DATAIL")
@NamedQuery(name="RepairDatail.findAll", query="SELECT r FROM RepairDatail r")
public class RepairDatail implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="RDEPLAN_ID")
	private long rdeplanId;

	@Column(name="RDEPLAN_DEPT")
	private String rdeplanDept;

	@Column(name="RDEPLAN_MAN")
	private String rdeplanMan;

	@Column(name="RDEPLAN_OBJECT")
	private String rdeplanObject;

	@Column(name="RDEPLAN_REMARKS")
	private String rdeplanRemarks;

	//bi-directional many-to-one association to RepairPlan
	@ManyToOne
	@JoinColumn(name="RPLAN_ID")
	private RepairPlan repairPlan;

	public RepairDatail() {
	}

	public long getRdeplanId() {
		return this.rdeplanId;
	}

	public void setRdeplanId(long rdeplanId) {
		this.rdeplanId = rdeplanId;
	}

	public String getRdeplanDept() {
		return this.rdeplanDept;
	}

	public void setRdeplanDept(String rdeplanDept) {
		this.rdeplanDept = rdeplanDept;
	}

	public String getRdeplanMan() {
		return this.rdeplanMan;
	}

	public void setRdeplanMan(String rdeplanMan) {
		this.rdeplanMan = rdeplanMan;
	}

	public String getRdeplanObject() {
		return this.rdeplanObject;
	}

	public void setRdeplanObject(String rdeplanObject) {
		this.rdeplanObject = rdeplanObject;
	}

	public String getRdeplanRemarks() {
		return this.rdeplanRemarks;
	}

	public void setRdeplanRemarks(String rdeplanRemarks) {
		this.rdeplanRemarks = rdeplanRemarks;
	}

	public RepairPlan getRepairPlan() {
		return this.repairPlan;
	}

	public void setRepairPlan(RepairPlan repairPlan) {
		this.repairPlan = repairPlan;
	}

}